package com.edu.app.mapper.security;

import com.edu.app.bean.security.SysSecurity;
import com.edu.app.util.AppBaseMapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface SysSecurityMapper extends AppBaseMapper<SysSecurity> {
    @Select("SELECT * FROM S_SECURITY WHERE key_name = #{keyname}")
    SysSecurity getSecurityByName(String keyname);
}
